if (window.console&&console.log) {
	console.log("okok");
}